Added free-text and free-math modes (multiline latex support) - #3060
Open
Shrookin wants to merge 6 commits into
Open
Added free-text and free-math modes (multiline latex support)#3060Shrookin wants to merge 6 commits into
Shrookin wants to merge 6 commits into
Conversation
Shrookin
marked this pull request as ready for review
August 21, 2026 04:11
This was referenced Sep 7, 2026
Author
|
Follow-up bidi/caret fix pushed in e867c88:\n\n- free-text now resolves base direction independently per line\n- mixed Hebrew/Latin prose uses native Unicode bidi ordering\n- math and active LaTeX runs are isolated LTR, so the visual caret stays at the logical insertion point\n- added live-typing coverage for Hebrew -> English -> Hebrew and a following backslash-command line\n\nValidation: 334 unit tests passed; all 47 Chromium physical-keyboard tests passed; all 19 applicable free-text cases passed across Chromium, Firefox, and WebKit. The combined downstream runtime is published as newnotes-0.110.0-7 (474a6fc). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds two experimental multiline mathfield modes:
free-text: prose-first editing with inline LaTeX escapes.free-math: math-first editing with multiline rows and inline text islands.Both modes use a multiline root represented as an array of rows, preserving the document's line structure rather than flattening it into a single mathfield row.
free-textfree-textis intended for document-like editing while retaining MathLive's rendering and editing engine.Verification
The feature is intentionally marked experimental for maintainer review.